package com.project.mapper;

import com.project.dto.ReportIdNameDto;
import com.project.dto.ReportReviewListDTO;
import com.project.model.entity.ProjectReport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProjectReportMapper {
    void insertProjectReport(ProjectReport projectReport);

    void deleteProjectReportById(Integer id);

    void updateProjectReport(ProjectReport projectReport);

    ProjectReport selectProjectReportById(Integer id);

    ProjectReport selectProjectReportByReportId(Integer reportId);

    List<ProjectReport> selectAllProjectReports();

    List<ReportReviewListDTO> getReportReviewList(String status);

    List<ReportIdNameDto> getReportIdName();
}
